
FROM registry.cn-beijing.aliyuncs.com/666clould/basejava:6.0

RUN mkdir -p /mcms

WORKDIR /mcms

EXPOSE 9111

ADD ./target/ms-mcms.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]

CMD ["--spring.profiles.active=dev"]